Resource URL: /platform/<<version=3>>/auth/providers/ads/<ID>/domains

    Overview: This resource applies the standard collection pattern to ADS
              domains.

     Methods: GET

********************************************************************************

Method GET: List all ADS domains.

       URL: GET /platform/<<version=3>>/auth/providers/ads/<ID>/domains

Query arguments:
scope=<enum> Where <enum> is one of user, default, effective.  If specified as
             "effective" or not specified, all fields are returned.  If
             specified as "user", only fields with non-default values are
             shown.  If specified as "default", the original values are
             returned.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "domains": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "description": "Specifies properties for trusted domains of configured ADS providers.", 
            "properties": {
              "dc_name": {
                "type": [
                  {
                    "minLength": 0, 
                    "type": "string", 
                    "maxLength": 255
                  }, 
                  {
                    "type": "null"
                  }
                ], 
                "description": "Specifies the name for the domain controller."
              }, 
              "dc_site": {
                "type": [
                  {
                    "minLength": 0, 
                    "type": "string", 
                    "maxLength": 255
                  }, 
                  {
                    "type": "null"
                  }
                ], 
                "description": "Specifies the site for the domain controller."
              }, 
              "client_site": {
                "type": [
                  {
                    "minLength": 0, 
                    "type": "string", 
                    "maxLength": 255
                  }, 
                  {
                    "type": "null"
                  }
                ], 
                "description": "The Nodes Site."
              }, 
              "trust_type": {
                "minLength": 0, 
                "type": "string", 
                "description": "Specifies the type of trust for this domain. Options include 'primary', 'unknown', 'external', and 'forest'.", 
                "maxLength": 255
              }, 
              "domain": {
                "type": [
                  {
                    "minLength": 2, 
                    "type": "string", 
                    "maxLength": 255
                  }, 
                  {
                    "type": "null"
                  }
                ], 
                "description": "Specifies the name of the domain."
              }, 
              "netbios_name": {
                "type": [
                  {
                    "minLength": 1, 
                    "type": "string", 
                    "maxLength": 15
                  }, 
                  {
                    "type": "null"
                  }
                ], 
                "description": "Specifies the NetBIOS name for the domain."
              }, 
              "dc_address": {
                "type": [
                  {
                    "minLength": 0, 
                    "type": "string", 
                    "maxLength": 255
                  }, 
                  {
                    "type": "null"
                  }
                ], 
                "description": "Specifies the address for the domain controller."
              }, 
              "status": {
                "minLength": 0, 
                "type": "string", 
                "description": "Specifies the status of the domain.", 
                "maxLength": 255
              }, 
              "sid": {
                "type": [
                  {
                    "minLength": 0, 
                    "type": "string", 
                    "maxLength": 255
                  }, 
                  {
                    "type": "null"
                  }
                ], 
                "description": "Specifies the security ID for the domain."
              }, 
              "guid": {
                "type": [
                  {
                    "minLength": 0, 
                    "type": "string", 
                    "maxLength": 255
                  }, 
                  {
                    "type": "null"
                  }
                ], 
                "description": "Specifies the globally unique ID for the domain."
              }, 
              "id": {
                "minLength": 2, 
                "type": "string", 
                "description": "Specifies a unique identifier for every domain returned.", 
                "maxLength": 255
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }
      }
    }
  ]
}
